﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BugTracker.WebUX.WebCode;

namespace BugTracker.WebUX.Admin.Pages.MasterPage
{
    public partial class BlueAdmin : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!BTSecurity.IsAuthenticated() &&
               !BTSecurity.IsInRole("administrator"))
            {
                Response.Redirect(BTHttpApplication.AppPaths.Login);
            }
        }
    }
}